<h1>Featured Article</h1>
<div id="featured-articles">
  <?php if($article_featured_list): ?>  
  <ul>
  <?php foreach ($article_featured_list as $article_article): ?>        
    <li><?php echo link_to($article_article->getTitle(), 'article_show', $article_article) ?>
    by <?php echo $article_article->getArticleAuthorId() ?> (<?php echo $article_article->getArticleCategoryId() ?>)</li>
  <?php endforeach; ?>
  </ul>
  <?php endif; ?>
</div>

<h1>Latest Article</h1>
<div id="latest-articles">
  <?php if($article_latest_list): ?>  
  <ul>
  <?php foreach ($article_latest_list as $article_article): ?>        
    <li><?php echo link_to($article_article->getTitle(), 'article_show', $article_article) ?>
    by <?php echo $article_article->getArticleAuthorId() ?> (<?php echo $article_article->getArticleCategoryId() ?>)</li>
  <?php endforeach; ?>
  </ul>
  <?php endif; ?>
</div>


